<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page isELIgnored ="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<p align="center">登录教务管理系统</p>
<form name="form1" method="post" action="${ctx}/login">
	<table width="325" border="0">
    <tr>
      <td width="92">用户名：</td>
      <td width="223"><label for="username"></label>
      <input type="text" name="username" id="username"></td>
    </tr>
    <tr>
      <td>密码：</td>
      <td><label for="password"></label>
      <input type="password" name="password" id="password"></td>
    </tr>
    <tr>
      <td><input type="reset" name="reset" id="reset" value="重置"></td>
      <td><input type="submit" name="submit" id="submit" value="提交"></td>
    </tr>
  </table>
	${errorMessage }
</form>
</body>
</html>